﻿using AVCUMPlatform.HelperLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AVCUMPlatform.Entities
{
    /// <summary>
    /// 消息模板表
    /// </summary>
    [Table("messagetemplates")]
    public class MessageTmplates
    {
        /// <summary>
        /// 主键
        /// </summary>
        [PrimaryKey("Id")]
        public int Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [Column("Name")]
        public string Name { get; set; }
        /// <summary>
        /// 模板id
        /// </summary>
        [Column("TemplateId")]
        public string TemplateId { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        [Column("Content")]
        public string Content { get; set; }
        /// <summary>
        /// 内容示例
        /// </summary>
        [Column("Example")]
        public string Example { get; set; }
        /// <summary>
        /// 发送json模板
        /// </summary>
        [Column("SendJson")]
        public string? SendJson { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("CreateTime")]
        public string? CreateTime { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("ModifyTime")]
        public string? ModifyTime { get; set; }
        /// <summary>
        /// 是否启用（1：启用，2：禁用）
        /// </summary>
        [Column("Enable")]
        public int Enable { get; set; }
    }
}
